package com.wxyzz.cem.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.sql.Timestamp;
import java.io.Serializable;
import com.wxyzz.cem.pojo.enums.PaymentProjectIsDelete;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 缴费项目
 * </p>
 *
 * @author xc
 * @since 2024-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PaymentProject implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    private String title;

    /**
     * 描述
     */
    private String description;

    /**
     * 缴费金额
     */
    private Float amount;

    /**
     * 发布时间
     */
    private Timestamp releaseTime;

    /**
     * 截止时间
     */
    private Timestamp deadLine;

    /**
     * 是否删除（0：否，1：是）
     */
    private PaymentProjectIsDelete isDelete;

    /**
     * 班级ID
     */
    private Integer classId;

    /**
     * 缴费二维码截图
     */
    private String imageName;
    /**
     * 是否已经缴费
     */
    @TableField(exist = false)
    private Boolean isPaid;

}
